import { createRouter, createWebHashHistory } from 'vue-router'

export const routeMenus = [
  {
    path: '/',
    redirect: '/home'
  },
  {
    title: '首页',
    path: '/home',
    component: () => import(`@/views/home.vue`)
  },
  {
    title: '饼图',
    path: '/pieChart',
    component: () => import(`@/views/pieChart/index.vue`)
  }, {
    title: '聚类图层',
    path: '/Ddsajk1',
    component: () => import(`@/views/home.vue`)
  },
]

const router = createRouter({
  history: createWebHashHistory(),
  routes: routeMenus
})

export default router
